home *** CD-ROM | disk | FTP | other *** search
/ VRML 2.0 Sourcebook (2nd Edition) / VRML 2.0 Sourcebook CD [md5 fed90f4f9c39d5a60d477058775c7e21].iso / book / win / ch13 / 13fig14.wrl < prev    next >
Text File  |  1996-09-23  |  1KB  |  41 lines

  1. #VRML V2.0 utf8
  2. # The VRML 2.0 Sourcebook
  3. # Copyright [1997] By
  4. # Andrea L. Ames, David R. Nadeau, and John L. Moreland
  5. Shape {
  6.     appearance Appearance {
  7.         material Material { }
  8.     }
  9.     geometry IndexedFaceSet {
  10.         coord Coordinate {
  11.             point [
  12.             # Circular arc
  13.                 -1.0  0.0   1.0,   -1.0  0.26  0.97,
  14.                 -1.0  0.5   0.87,  -1.0  0.71  0.71,
  15.                 -1.0  0.87  0.5,   -1.0  0.97  0.26,
  16.                 -1.0  1.0   0.0,   -1.0  0.97 -0.26,
  17.                 -1.0  0.87 -0.5,   -1.0  0.71 -0.71,
  18.                 -1.0  0.5  -0.87,  -1.0  0.26 -0.97,
  19.                 -1.0  0.0  -1.0,
  20.             # Angled circular arc
  21.                 -1.0  0.0   1.0,   -0.97 0.26  0.97,
  22.                 -0.87 0.5   0.87,  -0.71 0.71  0.71,
  23.                 -0.5  0.87  0.5,   -0.26 0.96  0.26,
  24.                  0.0  1.0   0.0,   -0.26 0.96 -0.26,
  25.                 -0.5  0.87 -0.5,   -0.71 0.71 -0.71,
  26.                 -0.87 0.5  -0.87,  -0.97 0.26 -0.97,
  27.                 -1.0  0.0  -1.0,
  28.             ]
  29.         }
  30.         coordIndex [
  31.              0, 13, 14,  1, -1,    1, 14, 15,  2, -1,
  32.              2, 15, 16,  3, -1,    3, 16, 17,  4, -1,
  33.              4, 17, 18,  5, -1,    5, 18, 19,  6, -1,
  34.              6, 19, 20,  7, -1,    7, 20, 21,  8, -1,
  35.              8, 21, 22,  9, -1,    9, 22, 23, 10, -1,
  36.             10, 23, 24, 11, -1,   11, 24, 25, 12, -1,
  37.         ]
  38.         solid FALSE
  39.     }
  40. }
  41.